entry: Do not unset selection if failing to update the primary selection
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 2 Jul 2014 13:35:07 +0000 (15:35 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 2 Jul 2014 16:57:39 +0000 (18:57 +0200)
commit5fe9ebfe11002c870ebf6a12d3936990ed1aedfa
tree48dd89eb575478b07c5792a3b0d6021139b1d9d3
parent67efefde499d683707050d456846c98527df0ac4
entry: Do not unset selection if failing to update the primary selection

This is expected to happen on wayland and other platforms with no primary selection,
and just leads to the selected text being cleared after any attempt to change the
text selection itself through either mouse/keyboard.
gtk/gtkentry.c